Automated Presentation of directory src/exampleCode/networking/rpcdemo/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


Please be aware: what appears below are the v4.2 DT bits in auto-generated html form.
As we have the time, we will update these to reflect the current "state of the world".


README file from "rpcdemo" directory


                 toolbox/bin/exampleCode/networking/rpcdemo
      


      The Remote Procedure Call (RPC) library allows C programs to make
      procedure calls on other machines across the network.  First, the 
      client calls a procedure to send a data packet to the server.  Upon 
      receipt of the packet, the server calls a dispatch routine to 
      perform the requested service, and then sends back a reply.  
      Finally, the procedure call returns to the client.
      
      This demo is an example RPC client and server application.  The RPC
      client (rminfo) is a simple program to retrieve real memory usage 
      information from a host that has rpc.rminfod (the server daemon) 
      installed.
      
      	    ------------------------------------------------------
      
      How to use this RPC server & client on IRIX 4.0.x:
      
      1) change ID to root:
      
% su


      
      2) Edit /etc/rpc and change the last entry to read:
      
sgi_reserved    391063 rminfo


      
          (Note:  we're borrowing this number just for this demo.
           The entry is really reserved for SGI use only!)
      
      3) Copy the daemon to /usr/etc or some other system directory:
      
# cp rpc.rminfod /usr/etc


      
      4) Edit /usr/etc/inetd.conf, adding the following entry at the end of
         the file:
      
rminfo/1   dgram   rpc/udp wait   root   /usr/etc/rpc.rinfod   rminfod
      


      5) Notify inetd about the change:
      
# killall -HUP inetd


      
      6) Wait a minute or so for inetd to reread the file.
      
      7) Run the rminfo client:
      
# rminfo localhost
      

      
      For more information on RPC programming, see the IRIX Network
      Programming Guide.
      

Files of interest from "src/exampleCode/networking/rpcdemo" directory

Source

Documentation

Reference


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire rpcdemo directory.

Copyright © 1995, Silicon Graphics, Inc.